<template>
	<view class="content">
		<view class="edit-con">
			<view class="edit-li">
				<view class="edit-lf">联系人</view>
				<view class="edit-rt">
					<input type="text" class="edit-input" value="" placeholder="输入联系人姓名" />
				</view>
			</view>
			<view class="edit-li">
				<view class="edit-lf">手机号</view>
				<view class="edit-rt">
					<input type="text" class="edit-input" value="" placeholder="输入手机号码" />
				</view>
			</view>
		</view>
		
		<view class="edit-con">
			<view class="edit-li">
				<view class="edit-lf">选择地区</view>
				<view class="edit-rt">
					点击选择所在地区
				</view>
			</view>
			<view class="edit-li">
				<view class="edit-lf">详细地址</view>
				<view class="edit-rt">
					<input type="text" class="edit-input" value="" placeholder="输入街道/小区/房号" />
				</view>
			</view>
		</view>
		
		<view class="edit-con">
			<view class="edit-li">
				<view class="edit-lf">设为默认地址</view>
				<view class="edit-rt">
					<checkbox class="edit-check"></checkbox>
				</view>
			</view>
		</view>
		
		<view class="edit-tip">设置后，下单时默认展示该地址</view>
		
		<view class="h110"></view>
		
		<view class="detail-sel">
			<view class="detail-btn">保存</view>
		</view>
	</view>
</template>
<style lang="scss">
page{
	background-color: $uni-bg-color-grey;
}
/deep/.uni-checkbox-input-checked{
	color: #fff !important;
	background-color: rgb(36,201,107)!important;
	border-color: rgb(36,201,107)!important;
	background-clip: content-box!important;
	box-sizing: border-box;
}
.content{
	.edit-tip{
		margin:30rpx 20rpx;
		font-size: 28rpx;
		color:#aaa;
	}
	.edit-con{
		margin:30rpx 20rpx;
		padding:30rpx;
		background-color: #fff;
		border-radius: 20rpx;
		.edit-li{
			display: flex;
			padding:20rpx 0;
			border-bottom: 1px solid #eee;
			&:first-child{
				padding-top: 0;
			}
			&:last-child{
				border-bottom: none;
				padding-bottom: 0;
			}
			.edit-lf{
				flex: 1.3;
				font-size: 28rpx;
			}
			.edit-rt{
				flex: 3;
				font-size: 28rpx;
				.edit-input{
					width: 100%;
					font-size: 28rpx;
				}
				.edit-check{
					transform: scale(0.7);
				}
			}
		}
	}
	.nodata{
		margin-top: 40%;
		text-align: center;
		color:#ccc;
		.nodata-icon{
			text{
				font-size:160rpx;
			}
		}
		.nodata-tit{
			margin-top: 20rpx;
			font-size: 28rpx;
		}
	}
	.detail-sel{
		padding: 20rpx;
		position:fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: #fff;
		text-align: center;
		.detail-btn{
			height:70rpx;
			line-height: 70rpx;
			border-radius: 35rpx;
			color: #fff;
			font-size: 28rpx;
			background-color:$uni-text-color-active;
		}
	}
	.h110{
		width: 100%;
		height:110rpx;
	}	
}
</style>